package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user")
public class UserRole {
    //用户id
    @TableId(type = IdType.AUTO)
    private Integer uId;
    //用户名称
    private String myName;
    //用户性别
    private char mySex;
    //生日
    private LocalDateTime myBirthday;
    //密码
    private String myCipher;
    //头像
    private String myAvatar;
    //邮箱
    private String myEmail;
}
